Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

Installing the Plex dispatcher for iSeries

Step 1: Transfer required objects to the iSeries

Installing the WebsydianExpress the objects have all ready been transferred to the iSeries.

Otherwise use FTP to transfer the save file to the iSeries and restore the objects.

Step 2: Requirements and considerations prior to starting the dispatcher

RNMOBJ OBJ(PLEX550/YOBSYTCPDP) OBJTYPE(*PGM) NEWOBJ(XYOBSYTCPDP)


RNMOBJ OBJ(PLEX550/VOBSYTCPDP) OBJTYPE(*PGM) NEWOBJ(YOBSYTCPDP)

It is recommended to create a user profile for running the Plex dispatcher

Step 3: Starting the iSeries dispatcher

The parameter passed to the YOBSYTCPDP program must be an available, unused port number. Use the command WRKTCPSTS *CNN to verify that the port is not being used.

Example 1: Submit the job from the command line
 

SBMJOB CMD(CALL PGM(PLEX550/YOBSYTCPDP) PARM('55000')) JOB(YOBLISTEN) JOBD(PLEX550/PLEX) JOBQ(QGPL/QINTER) USER(user)

Make sure to change the user parameter with the correct user.

Example 2: Write your own CL

Using the command as described in example 1 write your own CL program to start PLEX550/YOBSYSTPDP and call the CL program as part of your IPL.

Example 3: Create a Job Schedule Entry (ADDJOBSCDE)

The following is an example you could use if your IPL happened nightly:
 

ADDJOBSCDE CMD(CALL PGM(PLEX550/YOBSYTCPDP) PARM('55000')) FRQ(*WEEKLY)
SCDDATE(*NONE) SCDDAY(*ALL) SCDTIME('hh:mm:ss') JOBD(PLEX550/PLEX) JOBQ(QGPL/QINTER)
USER(user)

Make sure to enter correct schedule time and user profile to use.